﻿Nations.N32WB452_Library.2.6.0版本：
1. FLASH驱动中编写FLASH和选项字节相关函数中，调用FLASH_WaitForLastOpt改为传入局部变量
2. system.c文件中FLASH latency注释改为与sysclk相关
3. USB HID_Customer的TX端点初始化时设置成NAK，HID_Keyboard Demo修改发送逻辑，避免一直发数据
4. 优化I2C例程中i2c_master_recv函数2字节处理流程

Nations.N32WB452_Library.2.5.0版本：
1.更新FLASH驱动，添加页擦的地址判断
2.更新USART demo，更改IO配置和添加OREF处理
3.STOP2例程增加STOP2模式下只有R-SRAM可以保持的注意事项描述
4.RTC中读取TSH寄存器、SUBS寄存器后再读取一次DATE寄存器触发同步
5.SPI_Flash Demo中sFLASH_SendByte()函数和sFLASH_SendHalfWord()函数中发送完数据后先获取TE和BUSY标志，之后才获取RNE标志
6.优化DMA模块驱动DMA_DeInit函数
7.STOP2例程添加注释
8.优化SystemInit函数
9.优化I2C EEPROM例程，防止低主频下数据出错
10.添加I2C双地址例程
11.新增GCC应用示例
12.所有RTC的Demo闹钟设置DateWeekValue从0x31改成31
13.优化RCC驱动RCC_ConfigRtcClk()函数
14.修正ADC_GetFlagStatusNew函数中的断言
15.优化ADC温度传感器的demo
16.优化ADC_StartCalibration与ADC_GetCalibrationStatus函数
17.修正TIM复用的宏定义GPIO_PART2_RMP_TIM3
18.增加wchar32类型的算法库文件，兼容蓝牙库
19.添加RCC_ConfigLSETrim函数，LSE使能时默认配置为0x145

Nations.N32WB452_Library.2.4.0版本：
1. 修改system_n32g45x.c中的SystemInit函数
2. EXTI中断服务函数中获取标志位修改为EXTI_GetStatusFlag函数
3. 进入STOP2或STANDBY模式前添加时钟配置流程
4. 优化RTC_CLKSourceConfig函数
5. 优化RTC驱动函数RTC_GetTime
6. USB的HID_Keyboard例程添加get_report和set_report指令支持

Nationstech.N32WB452_Library.2.3.0版本：
1.增加函数TIM_ConfigUpdateEvt。
2.删除DEMO中DBG配置和描述
3.修改RTC_EnterInitMode函数
4.修改ADC驱动n32wb452_adc.c与.h文件，拓展ADC_GetIntStatus()，ADC_ConfigInt()函数的传参；
5.修改ADC demo中ADC DMA使能的位置以及关于ENDC/JENDC使用；
6.修改USB CDC DEMO，支持64字节发送
7.修改RTC清除中断标志位断言判断
8.修改RTC自动唤醒DEMO中断处理
9.新增HID_Customer DEMO
10.HID_Keyboard保留一个DEMO
11.修改USB DEMO，描述符长度根据实际长度设置，修改获取描述符函数
12. 删除ICache的coremark demo
13. CAN模块CAN_Tx_Rx/Dual_CAN1_2/LoopBack_CAN1三个demo，Systick_MS_Config函数去掉封装，改为直接调用的形式
14. USART模块在DMA_Interrupt/Interrupt/LP_Transmit_Receive/Transmit_Receive/LIN_slave DEMO中，中断函数中添加对ORERR/PEF/NEF/FEF标志的判断和清除操作。
15.修改RCC、I2C例程报错处理方式
16.修改system_n32wb452.c：初始化开icache，关预取
17.优化PWR模块AlarmWakeUp DEMO和STOP DEMO
18.驱动n32wb452_adc.c中，ADC_GetIntStatus()与ADC_GetFlagStatus()增加延时处理
19.修改中文字符
20.优化TIM模块ComplementarySignals DEMO
21.优化TIM_InitBkdtStruct结构体
22.修改宏定义GPIO_RMP2_SPI2为GPIO_RMP3_SPI2
23.删除FLASH_DMA_Program demo
24.优化PWR模块的PWR_AlarmWakeUp和STOP例程：进STOP2模式前将系统时钟源配置为HSI

Nationstech.N32WB452_Library.2.2.0版本：
1.增加ADC的差分模式例程
2.删除EEPROM例程，增加EEPROM_Int例程、EEPROM_Polling例程、EEPROM_DMA例程。
3.修改RTC例程增加重复分频机制
4.修改ADC模块内核供电从LDO供电改为选择MR供电
5.修改CAN扩展帧过滤宏定义
6.GPIO_PH_CFG register 模式定义修改:GPIO_PH_CFG_PMODE1-->GPIO_PH_CFG_PMODE9
7.SetSysClock()\RCC_SYSCLKConfigFromSTOP()优化
8.修改SPI FLASH DMA demo中 SPI_DMA_BufferRead函数，切换SPI模式前关闭SPI，切换完成后再开启
9.USART:
    新增LIN_Master和LIN_Slave 例程
    新增SmartCard 例程
10.system_n32wb452.c新增VDDDBK trim调节函数
11.修改ADC校准和ADC使能后延时8us
12.RCC新增HSI修正接口
13.修改system_n32wb452.c文件，限定选择PLL为时钟源时，系统时钟最小为32MHz
14.修改SPI FLASH DMA demo 读写flash时，部分分频系数下数据错乱问题
15.修改RTC Calendar 中的注释PA11为PA7
16.修改TamperTest 例程中的readme.txt 文件中描述的高电平为低电平
17.优化TIM模块的demo，增加各个结构体的初始化
18.RTC例程增加避免重复预分频机制
19.修改RTC程序中USART引脚注释
20.修改WWDG例程readme延迟58ms以上超时
21.RCC例程增加MCO输出PLLCLK注意事项
22.CAN_Tx_Rx例程readme文件数据帧修改为扩展帧

Nationstech.N32WB452_Library.2.1.0版本：
1.新增GCC下载配置文件和启动文件
2.修改I2C模块复位函数，增加I2C3,I2C4复位判断
3.flash模块 drvier文件删除已定义未使用变量
4.GPIO模块 例程删除已定义未使用变量
5.USART模块 例程删除已定义未使用变量
6.ADC 例程优化
      初始化函数增加在时钟配置上1M的初始化配置
      驱动添加对ADC_CTRL3的CKMOD操作
      新增ADC_CLOCK_AHB、ADC_CLOCK_PLL宏定义及相关配置函数
7.system_init RCC 配置寄存器2，配置寄存器3复位值修改
8.exit deinit 复位值修改
9.RCC：
	deinit 配置寄存器3复位值修改
	例程优化
10.删除GPIOF、GPIOG相关内容
11.RT-Thread:
	更新相关文件
	新增例程
12.更新蓝牙驱动库
13.修改USB驱动usb_regs.h文件里的_BlocksOf32宏，wNBlocks << 11改为wNBlocks << 10
14.NVIC
	更新IRQ_Mask例程按下按键打印停止，再按下无法继续打印问题
15.iCache coreMark跑分优化
16.修改SPI FLASH中的W25Q128擦除命令宏定义
17.TIM_Basic6 Demo的PCLK1改成4分频
18.misc.c/.h文件：
	注释掉SysTick_CLKSource_HCLK_Div8
	更新IS_SYSTICK_CLK_SOURCE
19.RTC模块 drvier文件删除已定义未使用变量
20.DVP模块例程：
	因WB452不支持PFx，PGx端口，删除未使用的DVP端口定义
	删除多余的文件，避免编译错误
21.I2C_Slave_Int例程main函数优化
22.SDIO例程优化，删除未使用变量
23.n32wb452_it.c文件删除未使用变量
24.USB新增DEMO Virtual_COM_Port_LoopBack
25.readme新增英文描述
26.USB demo 关闭ERROR和ESOF中断
27.更新RTC demo中的SYSCLKConfig_STOP函数中对Flash latency配置方式
28. TIMx_DCTRL后面的寄存器无法应用DMA Burst功能，修改相应代码
29. 增加I2C MASTER INT demo中的错误中断服务函数
30.将 SYSCLKConfig_STOP(uint32_t RCC_PLLMULL) 中的FLASH->AC 更换成变量操作



Nationstech.N32WB452_Library.2.0.0版本：
版本变更 1.3.0->2.0.0
1.USART模块
	USART初始化函数,波特率设置优化
	
Nationstech.N32WB452_Library.1.3.0版本：
1、I2C模块
	读单字节数据是判断标志修改
	初始化函数，时钟判断修改
2、log.c
	修改fputc函数发送完成判断标志
Nationstech.N32WB452_Library.1.2.0版本：
1、 公共文件n32wb452.h修正了几个宏定义：
        RCC_CFG_USBPRES_PLLDIV3、RCC_CFG_USBPRES_PLLDIV2、RCC_APB1ENR_OPAMPEN、
        RCC_CSR_MMURSTF、FLASH_AC_LATENCY
2、 公共文件log.c、log.h：
        修改调试UART端口为PA9/PA10
3、 SPI模块：
        新增 SPI_RECORDER 例程
        新增 SPI_FLASH_DMA 例程
4、 USB模块：
        新增 Audio_Speaker 例程
        新增 HID_Keyboard_TwoWay 例程
        新增 Printer 例程
        修改USB例程挂起后进入低功耗模式
5、 RCC模块，驱动n32wb452_rcc.c/h中：
        更新RCC_HSE_DISABLE宏定义名称
        更新RCC_ADC1MCLK_SRC_HSE宏定义的值
6、 FLASH模块，驱动n32wb452_flash/h中：
        更新FLASH_SetSMPSELStatus函数定义
        更新FLASH_GetSMPSELStatus函数定义
        删除RCC_ConfigEthClk相关定义
7、 ADC模块，驱动n32wb452_adc.c/h中：
        修改了ADC_SetDifChsEnable函数名称；
        修改了ADC 模式寄存器位定义名称；
        增加对校准功能的函数重入性控制
8、 RTC模块：
        优化RTC TimeStamp例程
        例程优化
9、SDIO模块，优化例程uSDCard：
        增加中断回调函数
        添加宏开关，切换单块读写和多块读写
10、USART模块：
        IrDA_Tx&Rx DEMO Receive测例和Transmit测例合并成Transmit_Receive测例
        IrDA_Tx&Rx DEMO 新增LP_Transmit_Receive测例
11、I2C模块：
        优化驱动n32wb452_i2c.c/h，修改I2C初始化函数
        优化所有DEMO，修改端口配置及应用流程
12、TIM模块：
        修改TIM_EnableOc1Preload函数为TIM_ConfigOc1Preload
        增加TIM_GetAutoReload、TIM_GetCCENStatus函数
13、DVP模块：
        完善针对C++的文件头宏定义  #ifdef __cplusplus } #endif
14、BLE模块：
        更新驱动库文件（KEIL:16bit/32bit,IAR:16bit）
        优化slave、devBoardDemo例程便于演示
15、所有模块增加IAR工程示例
16、新增RT-Thread系统例程
17、WWDG模块
		例程优化
18、RTC模块
		例程优化		
19、PWR模块
		例程优化
20、IWDG模块
		例程优化
21、bxCAN模块
		例程优化

Nationstech.N32WB452_Library.1.1.0版本：
1、示例代码Flash_Write_Protectio工程main.c(V1.0.1)，清除标志作了修改；
2、示例代码Flash_Program工程main.c(V1.0.1)，错误处理作了修改；
3、示例代码Flash_DMA_Program工程main.c(V1.0.1)，清除标志作了修改；
4、驱动n32wb452_flash.c(V1.0.1)，擦写操作增加先清除标志，然后再进行后续操作；
5、驱动n32wb452_adc.c(V1.0.1),增加void ADC_SetDifChsEnable(ADC_Module* ADCx,uint32_t DifChs)；
6、驱动n32wb452_tim.h(V1.0.1)，TIM_BDTRInitType结构体修改注释；
7、驱动n32wb452_rcc.h(V1.0.1)，
   1)修改了TRNG1MCLK分频的宏定义；
   2)修改了IS_RCC_TRNG1MCLKPRE(VAL)宏定义；
8、驱动n32wb452_gpio.h(V1.0.1),修改了IS_GPIO_REMAP(REMAP)宏定义；
9、驱动n32wb452_flash.h(V1.0.1),
   1)修改了FLASH_ST枚举定义；
   2)删除FLASH_INT_ECCERRIE宏定义；
   3)修改IS_FLASH_INT(IT)宏定义；
   4)删除FLASH_FLAG_ECCERR宏定义；
   5)修改了IS_FLASH_CLEAR_FLAG宏定义；
   6)修改IS_FLASH_GET_FLAG(FLAG)宏定义；
   7)增加了FLASH_STS_CLRFLAG宏定义；
10、驱动n32wb452_adc.h(V1.0.1)，
   1)修改了ADC_DIFSEL_CHS_MASK宏定义名称；
   2)删除ADC_DIFSEL_CHS_0宏定义；
   3)增加ADC_CTRL3_PDRDY_MSK、ADC_CTRL3_RDY_MSK宏定义；
   4)修改了ADC_CTRL3_RES枚举定义；
   5)修改了ADC_InitTypeEx结构体；
   6)新增void ADC_SetDifChs(ADC_Module* ADCx,uint32_t DifChs)声明；
   7)新增void ADC_ConfigClk(ADC_CTRL3_CKMOD ADC_ClkMode, uint32_t RCC_ADCHCLKPrescaler)声明；
11、驱动n32wb452.h(V1.0.1)，
    1)FLASH_Module结构体将ECCR变量改为RESERVED2；  
    2)QSPI_Module结构体变量DAT32~DAT35改为RESERVED2~RESERVED5；
    3)增加Bit definition for ADC_DIFSEL register宏定义；
    4)增加Bit definition for ADC_CALFACT register宏定义；
    5)增加Bit definition for ADC_CTRL3 register宏定义；
    6)增加Bit definition for ADC_SAMPT3 register宏定义；
    7)删除FLASH_AC_LATENCY_5、FLASH_STS_ECCERR、FLASH_CTRL_ECCERRITEFLASH_ECCR_ECCLW_MSK、FLASH_ECCR_ECCHW_MSK宏定义；
    8)修改了HSE_STARTUP_TIMEOUT宏定义值;
    9)修改了CAN模块寄存器定义结构体;
    10)ADC_Module结构体去除IPTST变量；
    11)修改ADC_Module结构体里面的 WDHIGH
12、更新USART工程文件及配置文件（删除未使用的驱动文件），硬件流控Receive_RTS工程删除“数据比对时接收Buffer的1字节偏移”，多处理器模式工程更新LED为PB5/PB4/PA8
13、更新USART IrDA红外解码功能38kHz载波生成方式，由TIM中断翻转IO改为TIM PWM输出，否则影响IrDA输出数据
14、新增单线半双工模式DMA示例DMA_HalfDuplex
15、新增I2C模块10bit地址读写例程
16、USB 新增 Mass_Stroage_DataFlash 例程
17、USB 新增 Virtural_Com_Port 例程
18、I2C 删除两个多余从设备的例程，同时调整例程为可在同一块板上做验证
19、DMA 的I2C_DMA例程调整端口
20、修改CAN1对应GPIO remap定义
21、USB 新增 JoyStickMouse 例程
22、驱动n32wb452_tim.c(V1.0.2)，改变TIM_EnableOc1Preload函数为TIM_ConfigOc1Preload；增加TIM_GetAutoReload、TIM_GetCCENStatus函数；
23、USB 例程修改字符描述符
24、SPI 新增 SPI_FLASH_DMA 例程
25、USB 新增 HID_Keyboard_TwoWay 例程
26、USB 新增 Printer 打印机例程
27、RCC 新增 RCC_SYSCLKConfigFromSTOP库函数

Nations. N32WB452_Library. 2.5.0 version:
1. Update FLASH driver and add address determination for page erase
2. Update the USART demo, change IO configuration, and add OREF processing
3. Added a note to the STOP2 example describing that only R-SRAM can be retained in STOP2 mode.
4. After reading the TSH register and SUBS register in the RTC, read the DATE register once more to trigger synchronization.
5. In the SPI_Flash Demo, the sFLASH_SendByte() and sFLASH_SendHalfWord() functions first acquire the TE and BUSY flags after sending data, and only then acquire the RNE flag.
6. Optimized DMA Module Driver DMA_DeInit Function.
7. STOP2 demo add note.
8. Optimize the SystemInit function.
9. Optimize the I2C EEPROM demo to prevent data errors at low clock frequencies.
10. Add I2C Dual Address demo.
11. Added GCC Application Examples.
12. For all RTC demo alarm settings, change the DateWeekValue from 0x31 to 31.
13. Optimize the RCC driver function RCC_ConfigRtcClk().
14. Modify assertions in the ADC_GetFlagStatusNew function
15. Optimize the ADC temperature sensor demo
16. Optimize the ADC_StartCalibration and ADC_GetCalibrationStatus functions
17. Modified macro definition for TIM remap: GPIO_PART2_RMP_TIM3
18. Add algorithm library files for the wchar32 type to ensure compatibility with the Bluetooth library.
19. Added RCC_ConfigLSETrim function, When LSE is enabled, the default configuration is 0x145.


Nations. N32WB452_Library. 2.4.0 version:
1.Modify SystemInit function in system_n32g45x.c
2.EXTI interrupt handle function,get flag with EXTI_GetStatusFlag function
3.Add clock config before enter STOP2/STANDBY mode
4.Modify RTC_CLKSourceConfig function
5.Modify RTC_GetTime function in rtc.c
6.USB's HID_Keyboard routines add support for get_report and set_report commands.

Nationstech. N32WB452_Library. 2.3.0 version:
1.Added TIM_ConfigUpdateEvt.
2.Delect DBG configuration and discription in DEMO
3.Modify RTC_EnterInitMode function
4.Modify the driver file n32wb452_adc.c/.h for ADC , and expand the parameters of "ADC_GetIntStatus()，ADC_ConfigInt()" function;
5.Modify the code position of the ADC DMA enabling  in ADC demo ,and modify the usage of ENDC/JENDC flag.
6.Modify Virtual_COM_Port and Virtual_COM_Port_LoopBack DEMO，support 64 bytes send 
7.ModifyRTC clear interrupt flag assert
8.Modify RTC Auto wakeup DEMO interrupt handling
9.Add HID_Customer DEMO
10.HID_Keyboard keep one DEMO
11.Modify USB DEMO, the length of the descriptor is set based on the actual length，modify get descriptor function
12. Delete the coremark demo of ICache.
13. CAN module CAN_Tx_Rx/Dual_CAN1_2/LoopBack_CAN1 demos, remove the wrapping of Systick_MS_Config function and replace it with a direct call.
14. USART module in the DMA_Interrupt/Interrupt/LP_Transmit_Receive/Transmit_Receive/LIN_slave DEMO, interrupt function to add the ORERR/PEF/NEF/FEF flag judgment and clear the operation.
15.Modify the error handling of RCC and I2C routines.
16.Modify system_n32wb452.c：Initialization with icache on, prefetch off
17.Optimized PWR module AlarmWakeUp DEM and STOP DEMO.
18.ADC_GetIntStatus and ADC_GetFlagStatus functions in n32wb452_adc.c file to add delay processing
19.Modify chinese characters
20.Optimized TIM module ComplementarySignals DEMO.
21.Optimized TIM_InitBkdtStruct.
22.Modify macro definition GPIO_RMP2_SPI2 to GPIO_RMP3_SPI2
23.Delete FLASH_DMA_Program demo
24.Optimize PWR_AlarmWakeUp and STOP demo of PWR module: configure the system clock source to HSI before entering STOP2 mode

Nationstech. N32WB452_Library. 2.2.0 version:
1.Added ADC_DifferentialMode demo
2.Delete the EEPROM demo, add EEPROM_Int demo, EEPROM_Polling demo, EEPROM_DMA demo.
3.Modify RTC Demo add repetitive frequency division mechanism
4.ADCx module core power switch from LDO to MR
5.Modified CAN register extended frame macro definition
6.Modified GPIO_PH_CFG register mode macro definition:GPIO_PH_CFG_PMODE1-->GPIO_PH_CFG_PMODE9
7.SetSysClock() RCC_SYSCLKConfigFromSTOP() optimization
8.Modify the SPI_DMA_BufferRead function in the SPI FLASH DMA demo, turn off the SPI before switching the SPI mode, and turn it on after the switch is completed
9.USART:
	Added LIN_Master and LIN_Slave demo
	Added SmartCard  demo
10.Added VDDDBK trim function in the system_n32wb452.c.
11.Modify ADC need to delay 8us after ADC Calibration and ADC enable.
12.Added HSI TRIM function in the RCC. 
13.Modify system_n32wb452.c.file ,when PLL is selected as system clock source, the minimum system clock is 32MHz
14.When Modify SPI FLASH DMA demo to read and write flash,the problem of data confusion under some frequency division coefficients.
15.Modify the Comment PA11 to PA7 of RTC Calendar demo
16.Modify the high level described in the readme.txt file in the TamperTest demo to low level
17.Modify demo of TIM,initial structure.
18.Adding a machanism to avoid repetitive pre division in RTC demo
19.Modify the USART pin note in the RTC demo
20.Modify WWDG demo readme with a delay more than 58ms timeout
21.Added  MCO output PLLCLK note of RCC demo 
22.Modify CAN_TX_RX demo readme file data frame to extended frame


Nationstech.N32WB452_ Library.2.1.0 Version:

1. Add GCC download configuration file and startup file

2. Modify the I2C module reset function and add I2C3 and I2C4 reset judgment

3. Delete the defined unused variables in the flash module drvier file

4. GPIO module routine delete defined unused variables

5. USART module routine deletes defined unused variables

6. ADC routine optimization

	The initialization function adds 1M initialization configuration on the clock configuration

	Add driver to ADC CTRl3.CKMOD operation

7.system_ Init RCC configuration register 2, configuration register 3 reset value modification

8. Exit deinit reset value modify

9. RCC deinit configuration register 3 reset value modify

	Routine optimization

10. Delete relevant contents of GPIOF and GPIOG

11.RT-Thread:

	Update relevant documents

	New routine

12. Update Bluetooth driver library

13. Modify USB drive USB_ regs.h in the document  _BlocksOf32 macro, wNBlocks < < 11 changed to wNBlocks << 10

14.NVIC

	Update IRQ_ Mask routine press the key to stop printing, and then press it again to continue printing

15. Icache coremark run point optimization

16. Modify w25q128 erase command macro definition in SPI flash

17.TIM Basic6 Demo PCLK1 changed to 4 frequency division.

18. misc.c/.h file:  

	Comment out SysTick_CLKSource_HCLK_Div8  

	Update IS_SYSTICK_CLK_SOURCE

19. Delete defined unused variables from RTC module drvier file

20.DVP module routines:  

	Delete the unused DVP port definition because WB452 does not support PFx and PGx ports  

	Delete unnecessary files to avoid compilation errors

21.I2C_Slave_Int routine main function optimization

22.SDIO routine optimization, delete unused variables  

23. Delete unused variables from the n32wb452_it.c  

24. Added DEMO Virtual_COM_Port_LoopBack for USB

25. readme added English description

26. USB demo ERROR and ESOF interrupt closed

27.updatesd SYSCLKConfig_STOP funtions in RTC demo for Flash latency configuration

28. TIM_DCTRL‘s subsequent register cannot apply the DAM Burst function, and modify the corresponding code 
29. Added error interrupt service function in I2C MASTER INT demo.  
30.replace FLASH->AC in SYSCLKConfig_STOP(uint32_t RCC_PLLMULL) with variable operation

Nationstech.N32WB452_Library.2.0.0 Version:

Version change 1.3.0->2.0.0

1. USART module

USART initialization function, baud rate setting optimization



Nationstech.N32WB452_Library.1.3.0 Version :

1. I2C module

Reading single byte data is the modification of judgment flag

Initialization function, clock judgment modify

2、log.c

Modify fputc function sending completion judgment flag

Nationstech.N32WB452_Library.1.2.0 Version:

1. Public file n32wb452.h fixed several macro definitions:

RCC_ CFG_ USBPRES_ PLLDIV3、RCC_ CFG_ USBPRES_ PLLDIV2、RCC_ APB1ENR_ OPAMPEN、

RCC_ CSR_ MMURSTF、FLASH_ AC_ LATENCY

2. Public file log.c、log.h：

Modify the debugging UART port to PA9/PA10

3. SPI module:

New SPI_RECORDER routine

New SPI_FLASH_DMA routine

4. USB module:

New Audio_Speaker routine

Add HID_Keyboard_TwoWay routine

New Printer routine

Enter low power mode after modifying the USB routine to suspend

5. RCC module,  in drive n32wb452_rcc.c/h:

Update RCC_HSE_DISABLE macro definition name

Update RCC_ ADC1MCLK_SRC_HSE macro defined value

6. Flash module, in drive n32wb452_flash.c/h:

Update FLASH_SetSMPSELStatus function definition

Update FLASH_GetSMPSELStatus function definition

Delete RCC_ConfigEthClk related definitions

7. ADC module,  In driving n32wb452_adc.c/h:

Modified ADC_SetDifChsEnable function name;

The ADC mode register bit definition name is modified;

Add function reentrancy control for calibration function

8. RTC Module:  

Optimize the RTC TimeStamp routine  

Routine optimization 

9. SDIO module, optimization routine uSDCard:  

Added interrupt callback function  

Add macro switch to switch single block read/write and multiple block read/write  

10. USART Module:  

IrDA_Tx&Rx DEMO Receive and Transmit tests are merged into Transmit_Receive tests  

IrDA_Tx&Rx DEMO New LP_Transmit_Receive test  

11. I2C module:  

Optimize driver N32wB452_i2c. C /h, modify I2C initialization function  

Optimized all DEMO, modified port configuration and application flow  

12. TIM Module:  

Change TIM_EnableOc1Preload to TIM_ConfigOc1Preload  

Add TIM_GetAutoReload and TIM_GetCCENStatus functions  

13. DVP module:  
Improve the definition of header macros for C++
#ifdef __cplusplus} #endif  

14. BLE module:  

Update driver library file (KEIL: 16 bit / 32 bit, IAR: 16 bit)  

Optimize slave, devBoardDemo routines for easy demonstration

15. Add IAR project examples for all modules  

16. Added rt-Thread system routine  

17. WWDG module  

Routine optimization  

18. RTC module  

Routine optimization  

19. PWR module  

Routine optimization  

20. IWDG module  

Routine optimization  

21. BxCAN module  

Routine optimization



Nationstech.N32WB452_Library.1.1.0 version:  

1. Example code Flash_Write_Protectio project main.c(V1.0.1), the clear flag has been modified;  

2. Example code Flash_Program project main.c(V1.0.1), error handling has been modified;  

3. Example code Flash_DMA_Program project main.c(V1.0.1), the clear mark has been modified;  

4, drive N32wB452_flash.c (V1.0.1), erase operation added first clear flag, and then subsequent operations;  

5,drive n32wb452_adc.c (V1.0.1); void ADC_SetDifChsEnable(ADC_Module* ADCx, Uint32_t DifChs)  

6, drive n32wb452_tim.h(V1.0.1), TIM_BDTRInitType structure modification annotation;  

7, drive N32wb452_rcc.h(V1.0.1),  

1) modified the macro definition of TRNG1MCLK frequency division;  

2) Modified IS_RCC_TRNG1MCLKPRE(VAL) macro definition;  

8, drive N32wb452_gpio.h(V1.0.1), modify IS_GPIO_REMAP(REMAP) macro definition;  

N32wb452_flash.h (V1.0.1),  

1) Modified the FLASH_ST enumeration definition;  

2) Delete FLASH_INT_ECCERRIE macro definition;  

3)Modified the IS_FLASH_INT(IT) macro definition;  

4) Delete the FLASH_FLAG_ECCERR macro definition;  

5) Modified IS_FLASH_CLEAR_FLAG macro definition;  

6) Modified IS_FLASH_GET_FLAG(FLAG) macro definition;  

7) Added FLASH_STS_CLRFLAG macro definition;  

10. Drive N32WB452_ADC.h(V1.0.1),  

1) Modified ADC_DIFSEL_CHS_MASK macro definition name;  

2) Delete ADC_DIFSEL_CHS_0 macro definition;  

3) Add ADC_CTRL3_PDRDY_MSK and ADC_CTRL3_RDY_MSK macro definitions;  

4) Modified the ADC_CTRL3_RES enumeration definition;  

5) Modified the ADC_InitTypeEx structure;  

6) Add Void ADC_SetDifChs(ADC_Module* ADCx,uint32_t DifChs) declaration;  

7) Add void ADC_ConfigClk(ADC_CTRL3_CKMOD ADC_ClkMode, Uint32_t RCC_ADCHCLKPrescaler) declaration; 

11. Drive N32wB452.h (V1.0.1)

1) The FLASH_Module structure changes the ECCR variable to RESERVED2;

2) change the QSPI_Module variable DAT32~DAT35 to RESERVED2~RESERVED5;

3) Add Bit Definition for ADC_DIFSEL register macro definition;

4) Add Bit Definition for ADC_CALFACT Register macro definition;

5) Add Bit definition for ADC_CTRL3 register macro definition;

6) Add Bit Definition for ADC_SAMPT3 register macro definition;

7) Delete FLASH_AC_LATENCY_5, FLASH_STS_ECCERR, FLASH_CTRL_ECCERRITEFLASH_ECCR_ECCLW_MSK, FLASH_ECCR_ECCHW_MSK macro definitions;

8) Changed the HSE_STARTUP_TIMEOUT macro definition value;

9) Modified CAN module register definition structure;

10) Remove IPTST variable from ADC_Module;

11) Modify WDHIGH in ADC_Module

12. Update USART engineering files and configuration files (delete unused driver files), delete "1-byte offset of received Buffer during data comparison" in hardware flow control Receive_RTS project, and update LED to PB5/PB4/PA8 in multi-processor mode project

13. Update the USART IrDA infrared decoding function 38kHz carrier generation mode from TIM interrupt flip IO to TIM PWM output; otherwise, IrDA output data will be affected

14. Added single-line half-duplex DMA example DMA_HalfDuplex

15. Added 10bit address read and write routines of I2C module

16. USB added Mass_Stroage_DataFlash routine

17. USB added the Virtural_Com_Port routine

18. I2C deletes two routines of redundant slave devices and adjusts the routines so that they can be verified on the same board

19. DMA I2C_DMA routine adjustment port

20. Modify the GPIO remap definition corresponding to CAN1

21. USB added JoyStickMouse routine

22, Drive n32wb452_tim.c(V1.0.2), change TIM_EnableOc1Preload funtion to TIM_ConfigOc1Preload; Add TIM_GetAutoReload and TIM_GetCCENStatus functions;

23. USB routines modify character descriptors

24. SPI added SPI_FLASH_DMA routine

25, USB added HID_Keyboard_TwoWay routine

26, USB new Printer routine

27, RCC add RCC_SYSCLKConfigFromSTOP library function

